package top.swimmer.tokenizer.entities;

/**
 * Created by xiaoyou on 16-12-11.
 */
public class Word {
    private String content;
    private WordType type;

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }

    public WordType getType() {
        return type;
    }

    public void setType(WordType type) {
        this.type = type;
    }

    enum WordType {
        CHINESE, ENGLISH, PINYIN
    }

    @Override
    public String toString() {
        return content;
    }
}
